import type * as Common from './type'
import http from '@/utils/http'

const BASE_URL = '/user'

/** 获取用户信息 */
export const getUserInfo = () => {
  return http.get<Common.ParentUserInfo>(`${BASE_URL}/info`)
}
